package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/Witsmall.class */
public class Witsmall {
    private Integer id;
    private String type;
    private String witbigNum;
    private String witsmallNum;
    private String witsmallName;
    private Integer depreciation;

    public void setDepreciation(Integer depreciation) {
        this.depreciation = depreciation;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Witsmall)) {
            return false;
        }
        Witsmall other = (Witsmall) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        Object this$witbigNum = getWitbigNum();
        Object other$witbigNum = other.getWitbigNum();
        if (this$witbigNum == null) {
            if (other$witbigNum != null) {
                return false;
            }
        } else if (!this$witbigNum.equals(other$witbigNum)) {
            return false;
        }
        Object this$witsmallNum = getWitsmallNum();
        Object other$witsmallNum = other.getWitsmallNum();
        if (this$witsmallNum == null) {
            if (other$witsmallNum != null) {
                return false;
            }
        } else if (!this$witsmallNum.equals(other$witsmallNum)) {
            return false;
        }
        Object this$witsmallName = getWitsmallName();
        Object other$witsmallName = other.getWitsmallName();
        if (this$witsmallName == null) {
            if (other$witsmallName != null) {
                return false;
            }
        } else if (!this$witsmallName.equals(other$witsmallName)) {
            return false;
        }
        Object this$depreciation = getDepreciation();
        Object other$depreciation = other.getDepreciation();
        return this$depreciation == null ? other$depreciation == null : this$depreciation.equals(other$depreciation);
    }

    protected boolean canEqual(Object other) {
        return other instanceof Witsmall;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $type = getType();
        int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
        Object $witbigNum = getWitbigNum();
        int result3 = (result2 * 59) + ($witbigNum == null ? 43 : $witbigNum.hashCode());
        Object $witsmallNum = getWitsmallNum();
        int result4 = (result3 * 59) + ($witsmallNum == null ? 43 : $witsmallNum.hashCode());
        Object $witsmallName = getWitsmallName();
        int result5 = (result4 * 59) + ($witsmallName == null ? 43 : $witsmallName.hashCode());
        Object $depreciation = getDepreciation();
        return (result5 * 59) + ($depreciation == null ? 43 : $depreciation.hashCode());
    }

    public String toString() {
        return "Witsmall(id=" + getId() + ", type=" + getType() + ", witbigNum=" + getWitbigNum() + ", witsmallNum=" + getWitsmallNum() + ", witsmallName=" + getWitsmallName() + ", depreciation=" + getDepreciation() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getDepreciation() {
        return this.depreciation;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWitbigNum() {
        return this.witbigNum;
    }

    public void setWitbigNum(String witbigNum) {
        this.witbigNum = witbigNum;
    }

    public String getWitsmallNum() {
        return this.witsmallNum;
    }

    public void setWitsmallNum(String witsmallNum) {
        this.witsmallNum = witsmallNum == null ? null : witsmallNum.trim();
    }

    public String getWitsmallName() {
        return this.witsmallName;
    }

    public void setWitsmallName(String witsmallName) {
        this.witsmallName = witsmallName == null ? null : witsmallName.trim();
    }
}